>To use DOS4GW you need the watcom c compiler and use the option to compile
>in flat mode... This is my personal choice of language to develope
>graphics for msdos..
yes, it's true. There is also a commercial version of this DOS-Extender, DOS4G (or DOS4G Proffesional), which will execute not only Watcom's programms (but it is very expensive).
In Watcom you simply choose the 32bit small (or flat, the are different !) modell and you can write: